import request from '../utils/request'

//获取树结构
export function treeList(data) {
  return request({
    url: '/tree/list',
    method: 'post',
    data
  })
}

//获取树结构
export function treeDel(data) {
  return request({
    url: '/tree/del',
    method: 'post',
    data
  })
}

//编辑
export function treeEdit(data) {
  return request({
    url: '/tree/edit',
    method: 'post',
    data
  })
}